import Layout from '@/layout'

const edit =  {
    path: "/edit",
    component: Layout,
    redirect: "/user/edit",
    hidden:true,
    meta: {
      title: '修改管理',
      icon: 'add'
    },
    children: [
      {
        path: 'user/edit',
        component: () => import('@/views/user/edit'),
        hidden:true,
        name: '修改用户',
        meta: { title: '修改用户', icon: 'addUser' }
      },
      {
        path: 'product/edit',
        component: () => import('@/views/product/edit'),
        hidden:true,
        name: '修改产品',
        meta: { title: '修改产品', icon: 'addProduct' }
      },
      {
        path: 'supplier/edit',
        component: () => import('@/views/supplier/edit'),
        hidden:true,
        name: '修改供应商',
        meta: { title: '修改供应商', icon: 'addSupplier' }
      },
      {
        path: 'store/edit',
        component: () => import('@/views/store/edit'),
        hidden:true,
        name: '修改仓库',
        meta: { title: '修改仓库', icon: 'addStore' }
      }
    ]
  }

  export default edit
